package com.anfeng.cms.domain.device;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴朋
 * @since 2019-07-15
 */
@TableName("af_white_list_detail")
public class AfWhiteListDetail extends Model<AfWhiteListDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 白名单详情id
     */
	private String id;
    /**
     * 白名单id
     */
	@TableField("w_id")
	private String wId;
    /**
     * 员工id
     */
	@TableField("emp_id")
	private String empId;
    /**
     * 员工名
     */
	@TableField("emp_name")
	private String empName;
    /**
     * 部门id
     */
	@TableField("dept_id")
	private String deptId;
    /**
     * 部门名称
     */
	@TableField("dept_name")
	private String deptName;
    /**
     * 员工编号
     */
	@TableField("emp_no")
	private String empNo;
    /**
     * 数据状态（1 正常 2 逻辑删除）
     */
	private Integer state;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("modified_time")
	private Date modifiedTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getwId() {
		return wId;
	}

	public void setwId(String wId) {
		this.wId = wId;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getEmpNo() {
		return empNo;
	}

	public void setEmpNo(String empNo) {
		this.empNo = empNo;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "AfWhiteListDetail{" +
			"id=" + id +
			", wId=" + wId +
			", empId=" + empId +
			", empName=" + empName +
			", deptId=" + deptId +
			", deptName=" + deptName +
			", empNo=" + empNo +
			", state=" + state +
			", createTime=" + createTime +
			", modifiedTime=" + modifiedTime +
			"}";
	}
}
